﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace prav.Models
{
    public class NewPostViewModel
    {
        [Required]
        [Display(Name ="Заголовок")]
        public string Header { get; set; }

        [Required]
        [Display(Name = "Сообщение")]
        public string Body { get; set; }

        public long? ParentId { get; set; }
    }
}